Build lib tests and libraries in parallel
authorAlex Crichton <alex@alexcrichton.com>
Wed, 5 Nov 2014 03:40:06 +0000 (19:40 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 5 Nov 2014 21:40:31 +0000 (13:40 -0800)
commit805b026f92df47453347f622c7ac6866193fe8c7
tree28478ef9f090c570f6ae77f1fd8d0af510e6cd76
parent6e94e581b333c703ae83e23d785be58f735e810c
Build lib tests and libraries in parallel

When building unit tests for a library, we don't need the library itself to be
built beforehand, so the two can be built in parallel. If the crate takes awhile
to compile, this shows some excellent wall-time speedups.
src/cargo/ops/cargo_rustc/job_queue.rs
src/cargo/ops/cargo_rustc/mod.rs